package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2018/12/27  18:06
 */
@ApiModel("ID参数")
public class IdEvt implements Serializable {
    private static final long serialVersionUID = -49455502607829535L;
    @ApiModelProperty("ID")
    @NotNull
    private Long id;
    @ApiModelProperty("区域id")
    private Long region;
    @ApiModelProperty(value = "当前登录用户名",notes = "BFF后端服务获取")
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Long getRegion() {
        return region;
    }

    public void setRegion(Long region) {
        this.region = region;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "IdEvt{" +
                "id=" + id +
                ", region=" + region +
                ", loginName='" + loginName + '\'' +
                '}';
    }
}
